package com.yeyks.hotel.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel
public class HotelInfoC2bHotelSearchParam implements Serializable {

    private static final long serialVersionUID = -7146266059569029813L;

    @ApiModelProperty(value = "城市名称")
    @NotBlank(message = "城市必填")
    private String city;

    @ApiModelProperty(value = "价格（单位：分）")
    @NotNull(message = "价格必填")
    private Integer price;

    @ApiModelProperty(value = "经度")
    @NotNull(message = "经度必填")
    private Double positionX;

    @ApiModelProperty(value = "纬度")
    @NotNull(message = "纬度必填")
    private Double positionY;

    @ApiModelProperty(value = "开始时间")
    @NotNull(message = "开始时间必填")
    private Date startDate;

    @ApiModelProperty(value = "结束时间")
    @NotNull(message = "结束时间必填")
    private Date endDate;

    @ApiModelProperty(value = "舒适度 1舒适 2高档 3豪华 4民宿专区")
    private Integer comfortLevel;

    @ApiModelProperty(value = "排序,1智能(评分),2距离,3价格")
    private Integer sort = 1;

    @ApiModelProperty(value = "距离",hidden = true)
    private Integer distance = 5000;

}
